package cn.zhoutao.org.mapper;

import cn.zhoutao.basic.mapper.BaseMapper;
import cn.zhoutao.org.domain.Employee;
public interface EmployeeMapper extends BaseMapper<Employee> {
    //1.基本的CRUD接口通过继承BaseMapper得到

    //2.特殊的接口在这里自己写
    Employee loadByUserName(String username);

    /**
     * 根据shopid查询店长信息
     * @param shopId
     */
    Employee loadByShopId(Long shopId);
}
